package com.zoroki.hmusic.service;

import com.zoroki.hmusic.entity.FavoriteSong;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zoroki
 * @since 2023-05-10
 */
public interface IFavoriteSongService extends IService<FavoriteSong> {

    int deleteFavoriteSongByUserId(int userId,int songId);
    int deleteFavoriteSongBySongId(int songId);

    int addSongToFavorite(FavoriteSong favoriteSong);

    FavoriteSong checkSongIsFavorite(int favoriteId, int songId);



}
